package test.coin;

public class testCointrade {
//https://www.zb.cn/i/developer  文档
	final static String[] cointype = { "zb_qc", "zb_usdt", "zb_btc", "btc_qc", "btc_usdt", "btc_pax", "eth_usdt",
			"eth_qc", "eth_btc", "eth_pax", "xrp_qc", "xrp_usdt", "xrp_btc", "eos_usdt", "eos_qc", "eos_btc", "xlm_qc",
			"xlm_usdt", "xlm_btc" };
	// 配置数据
	final static String url币种精度 = "http://api.zb.cn/data/v1/markets";
	final static String url所有行情 = "http://api.zb.cn/data/v1/allTicker";
	final static String url某币行情= "http://api.zb.cn/data/v1/ticker?market=";
	final static String url历史成交 ="http://api.zb.cn/data/v1/trades?market=";
	final static String urlK线 ="http://api.zb.cn/data/v1/kline?market=";

	public static void main(String[] arg) {
		testCointrade t = new testCointrade();
		t.getConfig();
	}

	public void getConfig() {
		
	   
	}

}

class zb {
	public String s币种;
	public int i数量精度 = 2;
	public int i价格精度 = 2;
}

class zbTicker {
	public String s币种;
	public int i数量精度 = 2;
	public int i价格精度 = 2;
	public String high; // : 最高价
	public String low;// : 最低价
	public String buy;// : 买一价
	public String sell; // : 卖一价
	public String last;// : 最新成交价
	public String vol;// : 成交量(最近的24小时)
}

//http://api.zb.cn/data/v1/kline
//http://api.zb.cn/data/v1/kline?market=btc_usdt
class zbKline {

	public String data; // : K线内容
	public String moneyType;// : 买入货币
	public String symbol; // : 卖出货币
	public String[] kvalues;
}